From dd4a9872ca42d42e61a1f8a16db1903c1b5eb2ce Mon Sep 17 00:00:00 2001 From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Sun, 4 Jun 2023 17:11:07 -0600 Subject: [PATCH] fix nits with trackfilter (#1124) * fix nits with trackfilter * deprecate mapconverter readme. mapconverter style file was removed in #870 * catch reference files up --- reference/filter1.txt | 2 +- reference/help.txt | 2 +- README.mapconverter => style/deprecated/README.mapconverter | 0 trackfilter.h | 2 +- xmldoc/filters/options/track-sdistance.xml | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename README.mapconverter => style/deprecated/README.mapconverter (100%) diff --git a/reference/filter1.txt b/reference/filter1.txt index cab7d2b7c..8241c29ba 100644 --- a/reference/filter1.txt +++ b/reference/filter1.txt @@ -30,7 +30,7 @@ option height wgs84tomsl Converts WGS84 ellipsoidal height to orthometric height track Manipulate track lists https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html option track move Correct trackpoint timestamps by a delta string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_move option track pack Pack all tracks into one boolean https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_pack -option track split Split by date or time interval (see README) string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_split +option track split Split by date or time interval string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_split option track sdistance Split by distance string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_sdistance option track merge Merge multiple tracks for the same way string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_merge option track name Use only track(s) where title matches given name string https://www.gpsbabel.org/WEB_DOC_DIR/filter_track.html#fmt_track_o_name diff --git a/reference/help.txt b/reference/help.txt index 9b17ea274..7dfed5b0f 100644 --- a/reference/help.txt +++ b/reference/help.txt @@ -462,7 +462,7 @@ Supported data filters: track Manipulate track lists move Correct trackpoint timestamps by a delta pack Pack all tracks into one - split Split by date or time interval (see README) + split Split by date or time interval sdistance Split by distance merge Merge multiple tracks for the same way name Use only track(s) where title matches given name diff --git a/README.mapconverter b/style/deprecated/README.mapconverter similarity index 100% rename from README.mapconverter rename to style/deprecated/README.mapconverter diff --git a/trackfilter.h b/trackfilter.h index 83ad47b6a..699146b86 100644 --- a/trackfilter.h +++ b/trackfilter.h @@ -137,7 +137,7 @@ private: }, { TRACKFILTER_SPLIT_OPTION, &opt_split, - "Split by date or time interval (see README)", nullptr, + "Split by date or time interval", nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr }, { diff --git a/xmldoc/filters/options/track-sdistance.xml b/xmldoc/filters/options/track-sdistance.xml index 0846b6b01..9ca5f96e9 100644 --- a/xmldoc/filters/options/track-sdistance.xml +++ b/xmldoc/filters/options/track-sdistance.xml @@ -13,7 +13,7 @@ gpsbabel -t -i gpx -f in.gpx - -x track,pack,sdistance=0.1k" + -x track,pack,sdistance=0.1k -o gpx -F out.gpx The sdistance option can be combined with the split option. -- 2.30.2